

import org.annoflow.filter.Filter;
import org.annoflow.filter.xss.XSSFilter;
import dummy.test.perf.ZHTMLTestClass;
public class XSSFilterTest implements ZHTMLTestClass {
	public void loadClasses() {

	}

	public void doTest() {
			try {
				printToHTML("<script>alert(\'hello\');</script>");
			} catch (Exception ex) {
				System.out.println("Successfully blocked XSS attack!");
			}

	}

	@Filter(type = XSSFilter.class)
	private static void printToHTML(String html) {
		//System.out.println(html);
	}
}
